Skip to content

Fix edge cases with chat newline rewriter; make it more like vanilla#696

Open
Beaness wants to merge 1 commit into
ViaVersion:masterfrom
Beaness:boldnewline
Open

Fix edge cases with chat newline rewriter; make it more like vanilla#696
Beaness wants to merge 1 commit into
ViaVersion:masterfrom
Beaness:boldnewline

Conversation

@Beaness

@Beaness Beaness commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This pr fixes some edge cases and should be more accurate to 1.8 splitting (based on GuiUtilRenderComponents in MCP 1.8.9)

Before:
image

After:
image

Test command:
tellraw @a {"text":"","extra":[{"text":"BOLD RED FIRST LINE\n","color":"red","bold":true},{"text":"SECOND LINE SHOULD BE P LAIN WHITE"}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant